package com.ruoyi.mes.systembasic.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 条码管理对象 smes_barcode
 *
 * @author simpsense
 * @date 2020-12-14
 */
public class SmesBarcode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 条形码 */
    @Excel(name = "条形码")
    private String barcodeData;

    /** 打印时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "打印时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date printDate;

    /** 供应商生产时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "供应商生产时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date supplierProduceDate;

    /** 供应商批次 */
    @Excel(name = "供应商批次")
    private String supplierProduceBatchNo;

    /** 质检批次 */
    @Excel(name = "质检批次")
    private String qulityCheckBatchNo;

    /** 托盘序号 */
    @Excel(name = "托盘序号")
    private String palletIndexInBatch;

    /** 托盘重量 */
    @Excel(name = "托盘重量")
    private BigDecimal palletWeight;

    /** 条形码状态 */
    @Excel(name = "条形码状态")
    private String barcodeStatus;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplierNo;

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    private String supplierName;

    /** 生产商 */
    @Excel(name = "生产商")
    private String manufacturerNo;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date instockDate;

    /** 质检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "质检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qulityCheckDate;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outstockDate;

    /** 库位 */
    @Excel(name = "库位")
    private String warelocatorNo;

    /** 检查结果 */
    @Excel(name = "检查结果")
    private String checkResult;

    /** 是否质检 */
    @Excel(name = "是否质检")
    private String isQulityCheck;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String materialNo;

    /** 是否测试料 */
    @Excel(name = "是否测试料")
    private String isTestMaterial;

    /** 有效天数 */
    @Excel(name = "有效天数")
    private Long effectiveDays;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireDate;

    /** 特殊放行 */
    @Excel(name = "特殊放行")
    private String specialAllowFlag;

    /** 是否冻结 */
    @Excel(name = "是否冻结")
    private String barcodeIsFrozen;

    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setBarcodeData(String barcodeData)
    {
        this.barcodeData = barcodeData;
    }

    public String getBarcodeData()
    {
        return barcodeData;
    }
    public void setPrintDate(Date printDate)
    {
        this.printDate = printDate;
    }

    public Date getPrintDate()
    {
        return printDate;
    }
    public void setSupplierProduceDate(Date supplierProduceDate)
    {
        this.supplierProduceDate = supplierProduceDate;
    }

    public Date getSupplierProduceDate()
    {
        return supplierProduceDate;
    }
    public void setSupplierProduceBatchNo(String supplierProduceBatchNo)
    {
        this.supplierProduceBatchNo = supplierProduceBatchNo;
    }

    public String getSupplierProduceBatchNo()
    {
        return supplierProduceBatchNo;
    }
    public void setQulityCheckBatchNo(String qulityCheckBatchNo)
    {
        this.qulityCheckBatchNo = qulityCheckBatchNo;
    }

    public String getQulityCheckBatchNo()
    {
        return qulityCheckBatchNo;
    }
    public void setPalletIndexInBatch(String palletIndexInBatch)
    {
        this.palletIndexInBatch = palletIndexInBatch;
    }

    public String getPalletIndexInBatch()
    {
        return palletIndexInBatch;
    }
    public void setPalletWeight(BigDecimal palletWeight)
    {
        this.palletWeight = palletWeight;
    }

    public BigDecimal getPalletWeight()
    {
        return palletWeight;
    }
    public void setBarcodeStatus(String barcodeStatus)
    {
        this.barcodeStatus = barcodeStatus;
    }

    public String getBarcodeStatus()
    {
        return barcodeStatus;
    }
    public void setSupplierNo(String supplierNo)
    {
        this.supplierNo = supplierNo;
    }

    public String getSupplierNo()
    {
        return supplierNo;
    }
    public void setManufacturerNo(String manufacturerNo)
    {
        this.manufacturerNo = manufacturerNo;
    }

    public String getManufacturerNo()
    {
        return manufacturerNo;
    }
    public void setInstockDate(Date instockDate)
    {
        this.instockDate = instockDate;
    }

    public Date getInstockDate()
    {
        return instockDate;
    }
    public void setQulityCheckDate(Date qulityCheckDate)
    {
        this.qulityCheckDate = qulityCheckDate;
    }

    public Date getQulityCheckDate()
    {
        return qulityCheckDate;
    }
    public void setOutstockDate(Date outstockDate)
    {
        this.outstockDate = outstockDate;
    }

    public Date getOutstockDate()
    {
        return outstockDate;
    }
    public void setWarelocatorNo(String warelocatorNo)
    {
        this.warelocatorNo = warelocatorNo;
    }

    public String getWarelocatorNo()
    {
        return warelocatorNo;
    }
    public void setCheckResult(String checkResult)
    {
        this.checkResult = checkResult;
    }

    public String getCheckResult()
    {
        return checkResult;
    }
    public void setIsQulityCheck(String isQulityCheck)
    {
        this.isQulityCheck = isQulityCheck;
    }

    public String getIsQulityCheck()
    {
        return isQulityCheck;
    }
    public void setMaterialNo(String materialNo)
    {
        this.materialNo = materialNo;
    }

    public String getMaterialNo()
    {
        return materialNo;
    }
    public void setIsTestMaterial(String isTestMaterial)
    {
        this.isTestMaterial = isTestMaterial;
    }

    public String getIsTestMaterial()
    {
        return isTestMaterial;
    }
    public void setEffectiveDays(Long effectiveDays)
    {
        this.effectiveDays = effectiveDays;
    }

    public Long getEffectiveDays()
    {
        return effectiveDays;
    }
    public void setExpireDate(Date expireDate)
    {
        this.expireDate = expireDate;
    }

    public Date getExpireDate()
    {
        return expireDate;
    }
    public void setSpecialAllowFlag(String specialAllowFlag)
    {
        this.specialAllowFlag = specialAllowFlag;
    }

    public String getSpecialAllowFlag()
    {
        return specialAllowFlag;
    }
    public void setBarcodeIsFrozen(String barcodeIsFrozen)
    {
        this.barcodeIsFrozen = barcodeIsFrozen;
    }

    public String getBarcodeIsFrozen()
    {
        return barcodeIsFrozen;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("barcodeData", getBarcodeData())
                .append("printDate", getPrintDate())
                .append("supplierProduceDate", getSupplierProduceDate())
                .append("supplierProduceBatchNo", getSupplierProduceBatchNo())
                .append("qulityCheckBatchNo", getQulityCheckBatchNo())
                .append("palletIndexInBatch", getPalletIndexInBatch())
                .append("palletWeight", getPalletWeight())
                .append("barcodeStatus", getBarcodeStatus())
                .append("supplierNo", getSupplierNo())
                .append("manufacturerNo", getManufacturerNo())
                .append("instockDate", getInstockDate())
                .append("qulityCheckDate", getQulityCheckDate())
                .append("outstockDate", getOutstockDate())
                .append("warelocatorNo", getWarelocatorNo())
                .append("checkResult", getCheckResult())
                .append("isQulityCheck", getIsQulityCheck())
                .append("materialNo", getMaterialNo())
                .append("isTestMaterial", getIsTestMaterial())
                .append("effectiveDays", getEffectiveDays())
                .append("expireDate", getExpireDate())
                .append("specialAllowFlag", getSpecialAllowFlag())
                .append("barcodeIsFrozen", getBarcodeIsFrozen())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}